package cn.sxjzit.officlal.entity;

public class UserRoot {
    private int id;
    private String username;
    private String password;
    private String photo;
    private String idcard;
    private int role_id;


    public UserRoot() {
    }

    public UserRoot(int id, String username, String password, String photo, String idcard, int role_id) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.photo = photo;
        this.idcard = idcard;
        this.role_id = role_id;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return photo
     */
    public String getPhoto() {
        return photo;
    }

    /**
     * 设置
     * @param photo
     */
    public void setPhoto(String photo) {
        this.photo = photo;
    }

    /**
     * 获取
     * @return idcard
     */
    public String getIdcard() {
        return idcard;
    }

    /**
     * 设置
     * @param idcard
     */
    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    /**
     * 获取
     * @return role_id
     */
    public int getRole_id() {
        return role_id;
    }

    /**
     * 设置
     * @param role_id
     */
    public void setRole_id(int role_id) {
        this.role_id = role_id;
    }

    public String toString() {
        return "User{id = " + id + ", username = " + username + ", password = " + password + ", photo = " + photo + ", idcard = " + idcard + ", role_id = " + role_id + "}";
    }
}
